home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1995 April / Internet Tools.iso / infoserv / gopher / Unix / gopher-gateways / techinfo / techinpher / v1.0 / messages.h.Z / messages.h
Encoding:
C/C++ Source or Header  |  1993-02-08  |  1.1 KB  |  35 lines

  1. /*
  2.  * messages.h
  3.  */
  4.  
  5. /* This file gives names for the indices of the server's messages.
  6.    The old way was to hard code the indices themselves. */
  7.  
  8. #define OK                      0
  9. /* The 3 messages NOT_DOCUMENT, SENDFILE_* have no error code 
  10.    compatibility with a bug in nio_send_file() */
  11.  
  12. #define NOT_AUTH                1
  13. #define BAD_PASSWD              2
  14. #define OTHER_PROV              3
  15. #define DEL_CHILD_1ST           4
  16. #define CANT_REORDER_NODES      5
  17. #define CANT_OPEN               6
  18. #define NOT_DOCUMENT            7
  19. #define CANT_WRITE_WEB          8
  20. #define CANT_FIND_NODE          9
  21. #define BAD_PATH                10
  22. #define ITEM_EXISTS             11
  23. #define CANT_FIND_SOURCE        12
  24. #define HUH                     13
  25. #define VERSION_NOT_FOUND       14
  26. #define CANT_FIND_SERVER_FILE   15
  27. #define SENDFILE_CANT_ACCESS    16
  28. #define SENDFILE_IS_DIRECTORY   17
  29. #define DEST_IS_DIRECTORY       18
  30. #define NODE_IS_PUBLIC          19
  31. #define UNKNOWN_FORMAT          20
  32. #define FUNCTION_DISABLED       21
  33. #define TEXT_SEARCH_FAILED      22
  34. #define MORE                    23
  35.